package com.cx.mapper;

import com.cx.pojo.Imgdetails;
import com.cx.pojo.ImgdetailsExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository// 用于修饰mapper（dao）层的
public interface ImgdetailsMapper {
    int countByExample(ImgdetailsExample example);

    int deleteByExample(ImgdetailsExample example);

    int deleteByPrimaryKey(Integer imgId);

    int insert(Imgdetails record);

    int insertSelective(Imgdetails record);

    List<Imgdetails> selectByExample(ImgdetailsExample example);

    Imgdetails selectByPrimaryKey(Integer imgId);

    int updateByExampleSelective(@Param("record") Imgdetails record, @Param("example") ImgdetailsExample example);

    int updateByExample(@Param("record") Imgdetails record, @Param("example") ImgdetailsExample example);

    int updateByPrimaryKeySelective(Imgdetails record);

    int updateByPrimaryKey(Imgdetails record);
}